package com.jiu345.users.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiu345.api.pojo.BaseEntity;
import com.jiu345.api.pojo.SkusSpec;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单管理
 * @author Mr Lei QQ：235921049
 * @date 2024-08-01 19:28:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("mall_orders_info")
public class OrderInfo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /*id*/
    @TableId(value = "id")
    private Long id;
    /*订单ID*/
    private Long orderId;
    /*用户ID*/
    private Long userId;
    /*商品名称*/
    private String goodsName;
    /*sku Id*/
    private Long skuId;
    /*sku名称*/
    private String skuName;

    /*图片*/
    private String skuImgUrl;

    /*商品数量*/
    private Integer count;
    /*单价*/
    private BigDecimal price;
    /*合计金额*/
    private BigDecimal totalPrice;


}
